package org.benetech.event;

/**
 * Callback object to provide feedback to the user when various events occur.
 * @author Reuben Firmin
 */
public interface EventListener {

    /**
     * A general message should be sent to the user.
     * @param message Not null
     */
    void message(String message);

    /**
     * An error message should be sent to the user.
     * @param error Not null
     */
    void error(String error);
}
